<!DOCTYPE html>
<html lang="ar">

<head>
<?php $this->load->helper('url');?>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<style>

.even
{
background-color:#fdddf4;	
}
.odd
{
background-color:#A7C942;
}
.t_header{
	background-color: #50af9e;
}

</style>

</head>
<body>
 <div id="container">
  <h1>الموردون</h1>
  <div id="body">
  
  ////
  <table style="width:300px ; border-bottom-style: solid; border-color: #ff0000;">
<tr>
  <th class="t_header">id</th>
  <th class="t_header">fournisseur</th>
  <th class="t_header">action</th>
</tr>

<?php
foreach($results as $data) 
{ $tstyle = "";
if($data->id_fournisseur %2 ==0 ) {	$tstyle = "even";} else {$tstyle = "odd";}

	
	echo '<tr class = '.$tstyle.'>
	      <td>'.$data->id_fournisseur.'</td>
	      <td>'.$data->nom.'</td>
		  <td> <a href = "xxxxxx/chemin/facture_"'.$data->adresse.'</td>
		  </tr>'  ;
	
}
?>
</table>



<!--pagination here--> 
   <p><?php echo $links; ?></p>
  </div>
  <p class="footer">Page rendered in <strong>{elapsed_time}</strong> seconds</p>
 </div>
</body>

</html>